  
<form method=post>
<input type=text name=pass>
<input type=submit name=submit>
</form> 
<?php
$pass= SHA1($_POST['pass']);
echo $pass;
// dinesh
?>
